﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Studio.Web.Utilities;

public partial class WebService : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }

    protected void Button1_Click(object sender, EventArgs e)
    {
        WebServiceHelper.ClearCache();
        string wsdl = TextBox1.Text.Trim();
        string method = TextBox2.Text.Trim();
        string[] splits = TextBox3.Text.Split(new char[] {';'}, StringSplitOptions.RemoveEmptyEntries);
        object a = WebServiceHelper.InvokeWebService(wsdl, method, splits);
        TextBox4.Text = a.ToString();
    }
}